package com.prize.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @descriptions:
 * @author: yunqiang
 * @date: 2022/5/28 18:55
 */
@Data
public class SysOplog implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Integer id;


    @ApiModelProperty(value = "用户")
    private Integer userName;


    @ApiModelProperty(value = "操作")
    private String opContent;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    private static final long serialVersionUID = 1L;
}
